package main

import "fmt"

func main() {
	s := make([]string, 3, 4)
	fmt.Println("emp:", s, "lens:", len(s), "cap:", cap(s))

	s = append(s, "hello")
	s = append(s, "world")
	s = append(s, "!")
	fmt.Println("app:", s, "lens:", len(s), "cap:", cap(s))
	fmt.Println("---------------------------")

	for i := 0; i < len(s); i++ {
		fmt.Println("item:", s[i])
	}
}
